package com.hj.enroll.mapper;

import com.hj.enroll.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface UserMapper {
    //1.查看所有报名的人员
    List<User> lookUser();
    //2.添加报名人员
    int addUser(User user);
    //3.根据名字查找某报名同学
    User searchUser(String name);
    //4.删除报名同学
    int deleteUser(String name);
    //5.修改报名成员的信息
    int updateUser(User user);
    //6.添加面评
    int addComment(String name,String comment);


}
